How does a driver with a UserName like mine "Andy King" show Stored Values then. Coss using this...
SetCurrentPlayerVar("Points_Laps",GetStoredValue($UserName . "_Points_Laps"));
because the stored value is andy king_Points_Laps and $UserName = GetCurrentPlayerVar("UserName"); = Andy King so its searching the database for Andy King_Points_Laps which it will never find coss Lapper saved it as andy king_Points_Laps. The UserName has to be stored as Driver has it written to make it unique surely.
I can connect other stuff like Event Calendar, Lapper v5.8.3.0 but not this version.
Hi Gai,
This looks nice but jury is still out on what we discussed. Thanks for SpeedTraps and $NumP already using them locally .
I have come across a problem straight away. I do not have console access on my hosts server. If I upload LFSLapper.exe and start it I cannot get it to go into Standby Mode as cannot type "start 0" "start 1" etc etc into the console. I have been running it locally to test it this evening and am happy to upload but no point as I cannot start it.
Maybe you could allow |start at the end of each server line in LFSServers.cfg like we had AutoStart in previous release. Then starting the LFSLapper.exe would then start each server in LFSServer.cfg into StandBy Mode which then enables me to type !start into chat box on each LFS Server to get Lapper running.
As it stands I cannot upload and get it running on any of my servers.
Hope this makes sense.
Update 1: I have downloaded the databases from v5.8.3.1 to my local machine to run with v5.8.3.2 but there seems to be an issue with capitalised letters in Username for Stored Values. If I try to display anyones points info and their name has capitalised letters like mine "Andy King" it shows nothing. If I change my Username to andy king in database all info is shown correctly. If you need more info gai contact me via MSN. All stored values are saved with UserName in lowercase so when a driver tries to see any data and his UserName has capitalised letters in it he doesn't see the data as his UserName doesn't correspond with any UserName in database. Hope this helps.
Update 2: Would it be possible to add !msa and !rca so we can send Admin Messages and Race Control Messages to all servers connected to Lapper.exe similar to what you added through console as thats no use to anyone who has thier servers hosted.
Update 3: Got the same problem I had in previous version, I cannot connect a locally running Lapper to my Servers on my host. I tried $TCPmode = false/true but neither will connect.
Right I am off to get my Racing Points system to adjust points dependant on how many drivers start the race
1) Is it possible for me to create list of Drivers like !top but showing there Points instead.
2) Where are the SetStoredValues saved? are they stored in same file as driver PB times etc and how can I view the file, what software will open it in a readable format
3) Can we have a new Event so when a player leaves a race they can only re-join X amount of times less they get spectated and eventually kicked for multiple rejoins similar to what Tim has asked for.
4) The !ban feature needs an update, can we allow the !ban to ban on all servers now 1 instance of Lapper connects to all servers. So basically I type !ban Username 365 and the username gets banned for 365 days on ALL my servers. Lapper takes the command and passes it to every server connected.
5) The Voting System doesn't work at all.
6) Idle Spectate doesn't work in Qualy Mode anymore.
7) Posabs works sometimes but doesn't most of the time.
8) !stats doesn't work anymore.
9) Feature request !msa and !rca like Airio where !msa sends a message to all servers connected to Lapper and !rca sends Race Control message to all servers. Both useful in lots of circumstances especially to warn drivers of Event start times when using multiple servers.
10) Can we dictate per server when server commands are shown like ShowCommands = True/False
Hi Gai & Yisc,
Is it possible for me to create list of Drivers like !top but showing there Points instead. Also where are the SetStoredValues saved? are they stored in same file as driver PB times etc and how can I view the file, what software will open it in a readable format? Not Sorted
Can someone explain what function !license has please. Not Sorted
Can someone show me how to add 2 stored items together, like I have Points_Laps and Points_Race as stored values against each drivers UserName but want to display them as 1 set of points added together. Sorted
Hi Gai & Yisc,
Thats a shame as wanted to allow my Admins to /bam John Doe 365 but is 2 argv's can't be used its inmpossible to have adjustable days.
I have a points system running on AKM Servers now but like Tim would like the new variable so we know how many drivers are starting a race to make race points adjustable. I would like another so lapper knows how many cars are ontrack at anytime on an event like passing a split or finishing a lap.
Hi Yisc,
Thats fine if your running locally or your host runs them that way, what about the likes of me who's host runs each instance of LFS seperatly like most hosts do. We need the !ban working so it migrates the /ban Username Days to all servers connected to LFSLapper.
Hi Gai and Yisc,
Need some help with stored values. I would like one of you guys to show me how to retrieve a stored Value, add a number to it then save it back.
So...
Create a UserName's Stored Value = 0
Get the UserName's Stored Value = 0
Then Add = 25
Store UserName's Value
So then....
Get Stored UserName's Value = 25
Then Add = 50
Store UserName's Value
I have tried for hours to work this out, nearly there but cannot get it to add the number, it keeps replacing it in stored value.
Hi Gai,
Here is a list of bugs I am finding, will update as I find more...
Voting System
Idle Spectate doesn't work in Qualy Mode
Posabs
!stats
That I can think of at the moment will update as I remember them.
Feature Request: The !ban feature needs an update, can we allow the !ban to ban on all servers now 1 instance of Lapper connects to all servers. So basically I type !ban Username 365 and the username gets banned for 365 days on ALL my servers. Lapper takes the command and passes it to every server connected. Please add this ASAP as we are struggling to keep up.
This doesn't seem to work, can someone explain how to correct it.
Feature Request: Can we have a new Event so when a player leaves a race they can only re-join X amount of times less they get spectated and eventually kicked for multiple rejoins.
Hi Gai,
When you stop a server that LFSLapper is connected to it throws an error but then re-connects. I have attached a log of console messages.... Error 6.txt
Also we need an everyday for registeredschedules. Also how do we use dates now instead of days....
While on this subject HH MM SS makes more sense than the way lapper does it at the moment SS MM HH DD MM YYYY IMO anyway its less confusing HH MM SS I am sure and Day DD MM YYYY HH MM SS would be perfect lol.
LOL thats a terrible example which 0 is Sunday lol
OK I worked it out SS MM HH DAY DD MM YYYY
Update: $PosAbs isn't working again, did you get my Forum Private Message about NumToMSH??
Feature Request: Can we use !reload or similar to restart lapper on server your connected to like we can in console with start 1 as most admins don't have access to console when using hosting services. Suppose !start 0 - !start 1 etc etc would be good after eading my own post lol
Hi Gai,
A proper application like a LapperGui.exe that you run perhaps coded in VB or similar that conects to all your servers for editing and administrating like kicking, sending messages etc etc would be soooooo nice lol. We can live in hope lol.
Have to be late afternoon for me testing this connection issue as work nights.
Update: Found the answer Gai, set $TCPmode = false and it connected immediatley.
Hi Gai,
Tim has posted his PB.txt file in post above which has 4 times as many drivers in it than mine so better you use that one nice one Tim.
I am having problems connecting to a server thats hosted from a lapper I am running locally. I have entered the servers details including IP address but it tries to connect 4 times then stops. Insim Port, IP, password are all correct and nothing else running on the server like older version of Lapper but refuses to connect. It will connect to my local server fine but not a hosted server via internet.
Hi Gai,
I think we have a problem with database. I did as you said and added my PB.txt file thats has 1260 Drivers PB's in it. As soon as I use this database Lapper grinds to a halt, its so slow, takes about 35 seconds from start of lapper to seeing welcome messages.
I tested it with a clean database and it shows welcome message immediatley.